<?php
defined('BASEPATH') OR exit('No direct script access allowed'); 
$route['default_controller'] = 'home'; //默认控制器
$route['404_override'] = ''; //
$route['translate_uri_dashes'] = FALSE; //


$route['r'] = 'welcome/index';
$route['article_manage'] = 'CArticle/manage'; //文章中心
$route['article_add'] = 'CArticle/add'; //新增文章
$route['article_list'] = 'CArticle/article_list'; //文章列表
$route['article_delete'] = 'CArticle/article_delete'; //文章列表
$route['s/(.+)'] = 'CArticle/article_by_code/$1'; //查看文章

$route['ad_manage'] = 'CAd/manage'; //广告中心
$route['ad_add'] = 'CAd/add'; //新增广告
$route['ad_list'] = 'CAd/ad_list'; //广告列表
$route['ad_delete'] = 'CAd/ad_delete'; //广告列表

$route['login'] = 'Index/login'; //登录
$route['i'] = 'Index/image';//图片转发
$route['t'] = 'Index/test';//weui 测试
$route['admin_login'] = 'Index/admin_login';

$route['pay'] = 'Payment/pay'; //付款
$route['test_tixian'] = 'Payment/tixian_api';//提现
$route['fee'] = 'Payment/fee';//账户中心
$route['fee_charge'] = 'Payment/charge';//充值
$route['withdraw'] = 'Payment/withdraw';//提现
$route['fee_detail'] = 'Payment/fee_detail';//账单详情

$route['msg_handle'] = 'Msg/handle'; //消息处理
$route['upload'] = 'Upload/uploadfile';//文件上传
$route['upload_wexin'] = 'Upload/upload_by_wexin';//微信下载图片



$route['admin'] = 'Admin/index'; //管理中心
$route['admin_left'] = 'Admin/left';//左侧菜单
$route['admin_top'] = 'Admin/top';//顶部菜单
$route['admin_panel'] = 'Admin/admin_panel';
$route['admin_user_list'] = 'Admin/user_list';
$route['admin_user_fee_list'] = 'Admin/user_fee_list';
$route['admin_user_withdraw_list'] = 'Admin/user_withdraw_list';
$route['admin_ad_list'] = 'Admin/ad_list';
$route['admin_adaccount_list'] = 'Admin/adaccount_list';
$route['admin_article_list'] = 'Admin/article_list';
$route['admin_articleaccount_list'] = 'Admin/articleaccount_list';
